package com.yangzc.lion.sys.security.service;

import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

import com.yangzc.lion.sys.security.model.SecurityUser;

public interface IUserDetailsService extends UserDetailsService {

	public SecurityUser loadUserByUserId(String userId)
			throws UsernameNotFoundException;

	public SecurityUser loadUserByUserEmail(String keyword)
			throws UsernameNotFoundException;
}
